package demo;


import com.tedu.InputField;

public class UserInfo {
    @InputField(title = "用户名")
    public String name;
   @InputField(title = "密码")
    public String password;
   @InputField(title = "昵称")
    public String nickname;
 @InputField(title = "年龄")
    public int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "name='" + name + '\'' +
                ", password=" + password +
                ", nickname=" + nickname +
                ", age=" + age +
                '}';
    }
}
